<d-toggle
  [(ngModel)]="ui.checked"
  [name]="name"
  [size]="ui.size!"
  [color]="ui.color!"
  [checked]="ui.checked!"
  [disabled]="ui.disabled!"
  [beforeChange]="ui.beforeChange!"
  [dValidateRules]="ui.validateRules!"
  [dValidatePopConfig]="ui.validatePopConfig!"
></d-toggle>
